package vn.vnvas.xoso.mienbac.thongke;

import vn.vnvas.xoso.R;
import android.content.Context;
import android.view.LayoutInflater;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

public class LayoutMenuItem extends LinearLayout{
	
	public ImageView picture;
	public TextView menu;
	public TextView menu_id;

	public LayoutMenuItem(Context context) {
		super(context);
		
		//dung layoutInflater de bien groupview thanh 1 view
		
		LayoutInflater layoutinflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
		layoutinflater.inflate(R.layout.layout_item,this,true);
		
		picture = (ImageView)findViewById(R.id.picture);
		menu = (TextView)findViewById(R.id.mien);
		menu_id = (TextView)findViewById(R.id.locId);
	}

}
